<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var vConsole = new VConsole();
		</script>
		<script type="text/javascript">
			// 动态加载VConsole的写法
			// function loadJS(url, cb) {
			// 	var script = document.createElement('script');
			// 	script.type = 'text/javascript';
			// 	script.src = url;
			// 	var ret = document.body.appendChild(script);

			// 	if (ret && cb) {
			// 		cb();
			// 	}
			// }

			// window.onload = function() {
			// 	loadJS('https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js', function() {
			// 		var VConsole = window.VConsole || null;
			// 		if (VConsole) {
			// 			var vConsole = new VConsole();
			// 			return;
			// 		}
					
			// 		console.log('===vconsole: vconsole monitor started...')
			// 		var intConsole = setInterval(function(){
			// 			var VConsole = window.VConsole || null;
			// 			if (VConsole) {
			// 				var vConsole = new VConsole();
			// 				clearInterval(intConsole);
			// 				intConsole = null;
			// 				console.log('===vconsole: vconsole started, monitor close')
			// 			}
			// 		},50);
			// 	});
			// }
		</script>
	</body>
</html>
